Returns a String. Returns all the unread characters in the buffer without deleting them from the buffer.The optional Encoding parameter enables you to specify the text encoding of the data to be returned.
Syntax |
|---|
|
result = Serial.LookAhead( [Encoding] ) |
Parameters |
|
|---|---|
|
Encoding |
TextEncoding (Optional) |
Return Value |
|
|---|---|
|
Result |
|
Notes
Use the Encodings object to specify a text encoding.